/**
 * 
 */
package com.lanyou.esb.servicemix.monitor;

import com.lanyou.esb.servicemix.monitor.rest.RestFactory;

/**
 * @author gonglei
 *
 */
public class ESBServer {

	private String serverCode;
	
	private String serverName;
	
	private String serverAddres;
	
	private int port;
	
	private RestFactory restFactory;

	private String userName="smx";

	private String password="smx";
	
 
	public String getServerCode() {
		return serverCode;
	}

	public void setServerCode(String serverCode) {
		this.serverCode = serverCode;
	}

	public String getServerName() {
		return serverName;
	}

	public void setServerName(String serverName) {
		this.serverName = serverName;
	}

	public String getServerAddres() {
		return serverAddres;
	}

	public void setServerAddres(String serverAddres) {
		this.serverAddres = serverAddres;
	}

	public RestFactory getRestFactory() {
		return restFactory;
	}

	public void setRestFactory(RestFactory restFactory) {
		this.restFactory = restFactory;
	}

	public int getPort() {
		return port;
	}

	public void setPort(int port) {
		this.port = port;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
}
